var $ = require('jquery')

import fruit from './diffpath'

$('#container').html('Hello webpack!!' + $.ps + ','+fruit.orange);

document.getElementById('button').addEventListener('click', () => {
  require.ensure([], function() {
    require('./lazy.css');
    var lazyloadmodule = require('./lazyload.js');

    var j = require('jquery');

    j('#container').html('Hello webpack updated!!'+j.ps+ ','+ fruit.orange);

  })
})